﻿@model RBS.Core.Model.Hotel.H_Hotel_Recognizance 
@{
    ViewBag.Title = "消费金操作";
    Layout = "~/Views/Shared/_Layout.cshtml"; 
}
 
<!--导航栏-->
<div class="location">
  <a href="javascript:history.back(-1);" class="back"><i></i><span>返回列表页</span></a>
  <a href="@Url.Action("Main", "Home")" class="home"><i></i><span>首页</span></a>
  <i class="arrow"></i>
  <span>@ViewBag.Title</span>
</div>
<!--/导航栏--> 



<!--内容-->
<div class="content-tab-wrap">
    <div id="floatHead" class="content-tab">
        <div class="content-tab-ul-wrap">
            <ul>
                <li><a href="javascript:;" onclick="tabs(this);" class="selected">消费金操作</a></li>
            </ul>
        </div>
    </div>
</div>

@using (Html.BeginForm())
{
    @Html.AntiForgeryToken()
    @Html.ValidationSummary(true)
    @Html.HiddenFor(model => model.Id) 
    <div class="tab-content"> 
        <dl style="display: none"><dt>		
                酒店名称</dt>
            <dd>           
                @Html.TextBoxFor(model => model.HotelId, null, new { @class = "input normal" }) 
                <span class="Validform_checktip">*酒店id</span>
             
            </dd></dl>
         
				<dl><dt>		
		 类型</dt>
        <dd>
         <div class="rule-multi-radio"> 
            @*    <label for="Type">保证金</label>
                    @Html.RadioButtonFor(model => model.RType, 1, new { @id = "radio1", @name = "rdolstState" }) *@
                    <label for="Type">充值</label>
                    @Html.RadioButtonFor(model =>  model.RType, 2, new { @id = "radio2", @name = "rdolstState", @checked="checked" }) 
                    <label for="Type">积分</label>
                    @Html.RadioButtonFor(model =>  model.RType, 3, new { @id = "radio2", @name = "rdolstState" })   
                       <label for="Type">消费</label>
                    @Html.RadioButtonFor(model =>  model.RType, 4, new { @id = "radio2", @name = "rdolstState" }) 
                </div>
		 
		 <span class="Validform_checktip"></span>
             
        </dd></dl>
        

        <dl><dt>		
		 发生金额</dt>
        <dd>
          @Html.TextBoxFor(model => model.Money, new { @class = "input small ", datatype = @"/^-?(([1-9]\d*)(\.\d{1,2})?)$|(0\.0?([1-9]\d?))$  /", sucmsg = " " })           
		  
		 <span class="Validform_checktip">*保留2位小数</span>
             
        </dd></dl>
				<dl><dt>		
		 发生时间</dt>
        <dd>
                @Html.TextBoxFor(model => model.Time, String.Format("{0:yyyy-MM-dd}", Model.Time), new { @class = "input date", onfocus="WdatePicker({dateFmt:'yyyy-MM-dd'})" , datatype=@"/^\s*$|^\d{4}\-\d{1,2}\-\d{1,2}$/",errormsg="请选择正确的日期",sucmsg=" ",width="100px"})             
		 
		 <span class="Validform_checktip"></span>
             
        </dd></dl>
		 
	   
    </div>
    <!--/内容-->

    <!--工具栏-->
    <div class="page-footer">
        <div class="btn-list">
            <input type="submit" value="提交保存" class="btn" />
            <input name="btnReturn" type="button" value="返回上一页" class="btn yellow" onclick="javascript: history.back(-1);" />

        </div>
        <div class="clear"></div>
    </div>
    <!--/工具栏-->
        
}









 
 